package com.dianmi.seckill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author xieqiaofu
 * @date 2021/4/12
 */
@Data
@TableName("t_order")
public class OrderInfo {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long userId;

    private Long productId;

    private BigDecimal totalPrice;

    private Integer payStatus;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
